﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Coupon.aspx.cs" Inherits="Touch2Like.Web.Customer.Manage.Coupon" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="/css/user.css" rel="stylesheet" type="text/css" />
    <link href="/css/user_content.css" rel="stylesheet" type="text/css" />
    <link href="/css/jquery-ui-1.10.2.custom.css" rel="stylesheet" type="text/css" />
    <script src="/js/jquery-1.9.1.js" type="text/javascript"></script>
    <script src="/js/jquery-ui-1.10.2.custom.min.js" type="text/javascript"></script>
    <script type="text/javascript">
        parent.ResetContentHeight("500");
        $(document).ready(function () {
            setTimeout(function () { parent.ResetContentHeight($("body").height()); }, 500);
            $("#tb_CouponAllExpireDate,#tb_CouponPartialExpireDate").datepicker();
        });

        function ClickFormButton(btnid) {
            $("#" + btnid).click();
        }
    </script>
    <style type="text/css">
        .datefield
        {
            width: 79px;
            font-size: 12px;
            line-height: 13px;
            color: #666 !important;
            background-position: 6px 5px !important;
            padding: 0 6px;
            text-indent: 14px;
        }
    </style>
</head>
<body style="overflow: hidden;">
    <form id="form1" runat="server">
    <div class="detail-container">
        <div class="header">
            <h3>
                Coupon Setup
            </h3>
        </div>
        <div class="content">
            <div class="section-wrap">
                <h3>
                    Net Promotion Score</h3>
                <div class="container">
                    <div style="height: 34px; line-height: 34px;" class="form-field-view">
                        <span style="display: inline-block; width: 150px; text-align: right;">Answer all questions</span>&nbsp;Value:<asp:TextBox
                            ID="tb_CouponAllValue" runat="server" Width="50px"></asp:TextBox>&nbsp;Expire
                        Date:<asp:TextBox ID="tb_CouponAllExpireDate" runat="server" CssClass="field datefield"></asp:TextBox></div>
                    <div style="border-bottom: 1px solid #ECEFF5; line-height: 34px;">
                        <span style="display: inline-block; width: 150px; text-align: right;">&nbsp;</span><span>&nbsp;Picture:<img
                            id="img_CouponAll" runat="server" style="max-width: 150px; max-height: 150px;" /><asp:FileUpload
                                ID="file_CouponAll" runat="server" /><asp:HiddenField ID="tb_CouponAllLocation" runat="server" />
                        </span>
                    </div>
                    <div style="height: 34px; line-height: 34px;" class="form-field-view">
                        <span style="display: inline-block; width: 150px; text-align: right;">Answer partial
                            questions</span>&nbsp;Value:<asp:TextBox ID="tb_CouponPartialValue" runat="server"
                                Width="50px"></asp:TextBox>&nbsp;Expire Date:<asp:TextBox ID="tb_CouponPartialExpireDate"
                                    runat="server" CssClass="field datefield"></asp:TextBox>
                    </div>
                    <div style="border-bottom: 1px solid #ECEFF5; line-height: 34px;">
                        <span style="display: inline-block; width: 150px; text-align: right;">&nbsp;</span><span>&nbsp;Picture:<img
                            id="img_CouponPartial" runat="server" style="max-width: 150px; max-height: 150px;" /><asp:FileUpload
                                ID="file_CouponPartial" runat="server" /><asp:HiddenField ID="tb_CouponPartialLocation"
                                    runat="server" />
                        </span>
                    </div>
                </div>
            </div>
            <div>
                <button class="button medium blue" onclick="ClickFormButton('btn_Save')">
                    <span>Save</span></button>
                <asp:Button ID="btn_Save" runat="server" CssClass="button medium blue" OnClick="btn_Save_Click"
                    Text="Save" Style="display: none" /></div>
        </div>
    </div>
    </form>
</body>
</html>
